package com.springboot.demo.custom.annotation;

import java.lang.reflect.Method;
import org.springframework.stereotype.Service;

/**
 * 前置插件实现类
 *
 * @author supu
 * @date 2019-03-26 17:05
 **/
@Service
public class BeforePluginImpl implements BeforePlugin {
    @Override
    public void interceptor(Method method) {
        System.out.println(method.getName() + " is test before");
    }
}
